#ifndef __SUIT_H__
#define __SUIT_H__

#include "../import/head.h"
#include "../tools/head.h"

//////////////////////////////////////////////////////////////////////////////////
// 

namespace xos_sgsj
{

	class suit : public xos_stl::mem_pool_item< suit, thread_lock >
    {
    public:
        suit();
        ~suit();

	public:
		static int add( const char * lpszName, const char * lpszCode, const char * lpszInfo, int num, int nId, int * lpIntId );
		static int del( const char * lpszName, const char * lpszCode, int nId );
		static int modify( int nId, const char * lpszName, const char * lpszCode, const char * lpszInfo, int num );
		static int get( const char * lpszName, const char * lpszCode, int nId, suit::LIST * pRetList );

	public:
		int suit_id;
		char info[4096];
		char name[64];
		char code[64];
		int num;

    public:
		int release();
        int init();
        int term();
    };
} // xos_sgsj

#endif // __SUIT_H__
